home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr05 / ddeexamp.zip / README.TXT < prev    next >
Text File  |  1993-07-08  |  1KB  |  65 lines

  1. DdeExec command set
  2. -------------------
  3.  
  4. The DdeExec DDE server supports the command set show below.  Connect
  5. to the DrawRect topic of DdeExec and send one or more of the commands
  6. to draw fascinating pictures.
  7.  
  8. Bunny.exe is a VB2 app which will draw a picture for you.
  9.  
  10. Xlart.xlm is an example of an Excel macro which will draw a picture.
  11.  
  12. Exec.exe is a VB2 app which will allow you enter commads directly
  13. and see the result string as provided by the 'Execute Control 1'
  14. protocol supported by this server.
  15.  
  16. Commands for Exec are entered individually or in groups as:
  17.  
  18.         [pen(red)]
  19.  
  20. or
  21.  
  22.         [pen(red)][line(0,0,50,50)]
  23.  
  24.  
  25. The command set
  26. ---------------
  27.  
  28. Pen(RED|BLUE|GREEN|BLACK|WHITE|YELLOW|CYAN|MAGENTA)
  29.  
  30.     Example:  [pen(red)]
  31.  
  32. Brush(RED|BLUE|GREEN|BLACK|WHITE|YELLOW|CYAN|MAGENTA)
  33.  
  34.     Example: [brush(blue)]
  35.  
  36. Line(left,top,right,bottom)
  37.  
  38.     Example: [line(0,0,50,50)]
  39.  
  40. Ellipse(left,top,right,bottom)
  41.  
  42.     Example: [ellipse(0,0,50,50)]
  43.  
  44. Rectangle(left,top,right,bottom)
  45.  
  46.     Example: [rectangle(0,0,50,50)]
  47.  
  48. Erase()
  49.  
  50.     Example: [erase()]
  51.     Example: [erase]
  52.  
  53. Text(x,y,text)
  54.  
  55.     Example: [text(10,10,"Hi there")]
  56.  
  57.     Text strings can contain quotes by including them twice:
  58.  
  59.     Example: [text(10,10,"Yo, ""Herman""!")]
  60.  
  61.     Other special characters can be included by using \ as
  62.     an escape character
  63.  
  64.     Example: [text(10,10,"Yo, \"Herman\"!")]
  65.